|
|
|
|
|
|
|
(table continued from previous page) |
|
|
|
|
| Property | Description | | Visible | Indicates whether or not the form is visible. You might use this property to temporarily hide a form when its not being used by the user. | | WindowState | This property determines the mode in which the form is display. You can set it to Normal, which means the form will use the Top, Left, Width, and Height properties to calculate the size of the form. You may also choose Minimized if you want the form to be minimized on the task bar. Or, you can set it to Maximized to have it take up the entire screen area. |
|
|
| Changing Properties to See Their Effect 1. Set the BorderStyle property to 1-Fixed Single. Now, when you run the form, youll be unable to size it. Youll typically use this type of form when developing a business application because youll place controls in certain locations and you wont want the user to resize the form so that the controls cant be seen. 2. Reset the WindowState property back to Normal. 3. You might want to try changing some of the other properties such as the MinButton, MaxButton, and ControlBox to see the effect this has on the form. After setting these properties, run the project by pressing F5 to see the changes these settings make. |  | Properties can do a lot to change the look and behavior of a form or control. As you can see from this exercise that just one change can greatly affect how your application is presented. |
|
|
|
|
|
|
When you start creating a Visual Basic application, you should have an idea of what this application will be used for. In this book, youll create an employee time tracking system. This application can be used for employees to track their time spent working on projects each day. |
|
|
|
|
|
|
|
|
Now that you have a form started, you should create a name for the project. |
|
|
|
|
|